home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-05-10 | 556 b | 29 lines |
-
- CC=gcc
- LD=gcc
- RM=rm -f
- CFLAGS=-O2 -m486 -pipe
- #
- # I prefer CFLAGS= -O -pipe
- #
- adduser:
- $(CC) $(CFLAGS) -o adduser.o -c adduser.c
- $(LD) -s adduser.o -o adduser-1.5
-
- install:
- cp adduser-1.5 /sbin/adduser
- ln -sf /sbin/adduser /usr/sbin/adduser
- ln -sf /sbin/adduser /usr/bin/adduser
- @echo "Adduser-Shadow 1.5 now installed"
-
- nocrypt: xfdes.o
- $(CC) $(CFLAGS) -o adduser.o -c adduser.c
- $(LD) -s adduser.o xfdes.o -o adduser-1.5
- clean:
- $(RM) adduser.o xfdes.o adduser-1.5 core *~
-
- dist: clean
- cd ..
- tar -cvf /tmp/adduser.tar ./
- gzip /tmp/adduser.tar
-